package com.foo.designpattern.decorator;

/**
 * @author jiang
 * @date 2016-04-12 23:14:57
 * @description 装饰模式：具体装饰角色
 */
public class ConcreteDecoratorA extends Decorator {

    public ConcreteDecoratorA(Component component) {
        super(component);
    }

    @Override
    public void sampleOperation() {
        super.sampleOperation();
        System.out.println("我长大了一点，会唱歌了");
    }

}
